package com.jie.service.Impl;

import com.jie.mapper.AttenceZibiaoMapper;
import com.jie.pojo.AttenceZibiao;
import com.jie.service.AttenceZiBiaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class AttenceZiBiaoServiceImpl implements AttenceZiBiaoService {

    @Autowired
    private AttenceZibiaoMapper attenceZibiaoMapper;

    public Boolean insertRecord(AttenceZibiao attenceZibiao) {
        return attenceZibiaoMapper.insertRecord(attenceZibiao);
    }

    public List<AttenceZibiao> findAttenceRecord(String classid) {
        List<AttenceZibiao> attenceZibiaoList = attenceZibiaoMapper.findAttenceRecord(classid);
        return attenceZibiaoList;
    }
}
